<?php

namespace App\Http\Controllers\Backend;
use App\Common\ResponseCode;
use App\Http\Controllers\BaseController;
use App\Http\Middleware\AdminAuth;
use App\Params\Backend\GradeListParams;
use App\Params\Backend\GradeUpdateParam;
use App\Params\Backend\LogListParam;
use App\Services\Base\ApiLogService;
use App\Services\Base\GroupService;
use App\Services\Customer\GradeService;
use App\Services\Goods\CategoryService;
use App\Traits\VerifyRequestParam;
use Illuminate\Http\Request;
/**
 * 系统日志控制器
 *
 * @package App\Http\Controllers\H5
 * @author WangBin
 * @date 2022-01/13
 */
class LogController extends BaseController
{
    use VerifyRequestParam;

    public function __construct()
    {

    }

    /**
     * 日志列表
     *
     * @throws
     * @return \Illuminate\Http\JsonResponse
     */
    public function getList()
    {
        $param = LogListParam::create();
        $data = ApiLogService::getInstance()->getList($param);
        return $this->success($data);
    }
}
